package com.learn.core.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * Description
 *
 * @author zhaohongyu
 * @ClassName LQuestionsType
 * @date 2021.03.22 09:03
 * @describe 题型
 */
@TableName("l_questions_type")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="LQuestionsType对象", description="题型表")
public class LQuestionsType implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "questions_type_id", type = IdType.AUTO)
    private Integer questionsTypeId;

    @ApiModelProperty(value = "题型标题")
    @TableField("questions_type_name")
    private String questionsTypeName;


    @ApiModelProperty(value = "默认分数")
    @TableField("questions_type_fraction")
    private Integer questionsTypeFraction;


    @ApiModelProperty(value = "题型标题")
    @TableField("questions_type_seq")
    private Integer questionsTypeSeq;


    @ApiModelProperty(value = "说明")
    @TableField("description")
    private String description;


    @TableField("create_time")
    private Date createTime;

    @TableField("create_user")
    private String createUser;

    @TableField("update_time")
    private Date updateTime;

    @TableField("update_user")
    private String updateUser;

    public Integer getQuestionsTypeId() {
        return questionsTypeId;
    }

    public void setQuestionsTypeId(Integer questionsTypeId) {
        this.questionsTypeId = questionsTypeId;
    }

    public String getQuestionsTypeName() {
        return questionsTypeName;
    }

    public void setQuestionsTypeName(String questionsTypeName) {
        this.questionsTypeName = questionsTypeName;
    }

    public Integer getQuestionsTypeFraction() {
        return questionsTypeFraction;
    }

    public void setQuestionsTypeFraction(Integer questionsTypeFraction) {
        this.questionsTypeFraction = questionsTypeFraction;
    }

    public Integer getQuestionsTypeSeq() {
        return questionsTypeSeq;
    }

    public void setQuestionsTypeSeq(Integer questionsTypeSeq) {
        this.questionsTypeSeq = questionsTypeSeq;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    @Override
    public String toString() {
        return "LQuestionsType{" +
                "questionsTypeId=" + questionsTypeId +
                ", questionsTypeName='" + questionsTypeName + '\'' +
                ", questionsTypeFraction=" + questionsTypeFraction +
                ", questionsTypeSeq=" + questionsTypeSeq +
                ", description='" + description + '\'' +
                ", createTime=" + createTime +
                ", createUser='" + createUser + '\'' +
                ", updateTime=" + updateTime +
                ", updateUser='" + updateUser + '\'' +
                '}';
    }
}
